package cn.chinasyq.photoquan.news.bean;

import java.util.List;

import cn.chinasyq.photoquan.bean.ShareEntity;

/**
 * Created by 一搏 on 2015/11/25.
 */
public class ArticlesInfoEntity {

    /**
     * uuid : xxx-xxx-xxx-xxxx
     * content : [{"type":"text","content":"内容1"},{"type":"text","content":"内容2"},{"type":"image","url":"http://image-staging.mastergolf.cn/12348902d9ef793705_531_295.jpg"},{"type":"image","url":"http://image-staging.mastergolf.cn/12348902d9ef793705_531_295.jpg"}]
     * title : 2015年江西国际摄影年展各展精彩作品集锦
     * time : 11月5号
     * author : 和讯网
     * favorites : 32
     * has_favorite : true
     * share : {"url":"http://g.hiphotos.baidu.com/zhidao/pic/item/0bd162d9f2d3572c4f636fc78913632762d0c32c.jpg","image":"http://img0.imgtn.bdimg.com/it/u=3856525311,359512467&fm=11&gp=0.jpg","title":"从百度下的图，凑合着看","summary":"从百度下的图，凑合着看"}
     * comments : [{"image":"http://img0.imgtn.bdimg.com/it/u=3856525311,359512467&fm=11&gp=0.jpg","nickname":"老王","time":"4小时前","content":"太漂亮了，脸都红了","ups":128,"has_up":true},{"image":"http://img0.imgtn.bdimg.com/it/u=3856525311,359512467&fm=11&gp=0.jpg","nickname":"老王","time":"4小时前","content":"太漂亮了，脸都红了","ups":128,"has_up":true},{"image":"http://img0.imgtn.bdimg.com/it/u=3856525311,359512467&fm=11&gp=0.jpg","nickname":"老王","time":"4小时前","content":"太漂亮了，脸都红了","ups":128,"has_up":true},{"image":"http://img0.imgtn.bdimg.com/it/u=3856525311,359512467&fm=11&gp=0.jpg","nickname":"老王","time":"4小时前","content":"太漂亮了，脸都红了","ups":128,"has_up":true}]
     */
    private String uuid;
    private String title;
    private String time;
    private String author;
    private int favorites;
    private boolean has_favorite;
    /**
     * url : http://g.hiphotos.baidu.com/zhidao/pic/item/0bd162d9f2d3572c4f636fc78913632762d0c32c.jpg
     * image : http://img0.imgtn.bdimg.com/it/u=3856525311,359512467&fm=11&gp=0.jpg
     * title : 从百度下的图，凑合着看
     * summary : 从百度下的图，凑合着看
     */

    private ShareEntity share;
    /**
     * type : text
     * content : 内容1
     */

    private List<ContentEntity> content;
    /**
     * image : http://img0.imgtn.bdimg.com/it/u=3856525311,359512467&fm=11&gp=0.jpg
     * nickname : 老王
     * time : 4小时前
     * content : 太漂亮了，脸都红了
     * ups : 128
     * has_up : true
     */

    private List<CommentsEntity> comments;

    public void setTitle(String title) {
        this.title = title;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public void setFavorites(int favorites) {
        this.favorites = favorites;
    }

    public void setHas_favorite(boolean has_favorite) {
        this.has_favorite = has_favorite;
    }

    public void setShare(ShareEntity share) {
        this.share = share;
    }

    public void setContent(List<ContentEntity> content) {
        this.content = content;
    }

    public void setComments(List<CommentsEntity> comments) {
        this.comments = comments;
    }

    public String getTitle() {
        return title;
    }

    public String getTime() {
        return time;
    }

    public String getAuthor() {
        return author;
    }

    public int getFavorites() {
        return favorites;
    }

    public boolean isHas_favorite() {
        return has_favorite;
    }

    public ShareEntity getShare() {
        return share;
    }

    public List<ContentEntity> getContent() {
        return content;
    }

    public List<CommentsEntity> getComments() {
        return comments;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
